home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / vmed.arc / HLPGUIDE.TXT < prev    next >
Text File  |  1985-12-03  |  10KB  |  265 lines

  1. Help Guide for VMED -- Virtual Buffer version of ED2     page 1
  2.  
  3. =========+========================================+============
  4.  Command |             Action taken               | Arguments
  5. =========+========================================+============
  6. append   | Appends file to buffer above cursor.   |  filename
  7. ---------+----------------------------------------+------------
  8. line     | Moves cursor to line specified.        |   line #
  9. ---------+----------------------------------------+------------
  10. put      | Writes part of buffer to a file with   |  filename
  11.          | prompts for starting and ending line.  |
  12. ---------+----------------------------------------+------------
  13. find     | Pattern search from cursor location,   |    none
  14.          | enter "edit" mode. After first occur-  |
  15.          | ance is located, <f> in edit mode      |
  16.          | locates next from cursor position.     |
  17.          | With prompt for search pattern.        |
  18. ---------+----------------------------------------+------------
  19. search   | Display all lines containing pattern   |  from, to
  20. ---------+----------------------------------------+------------
  21. change   | Search-and-replace pattern with        |  from, to
  22.          | prompts for old and new patterns       |
  23. ---------+----------------------------------------+------------
  24. new      | Clears buffer and file name. If buffer |    none
  25.          | has been modified since it was loaded  |
  26.          | or saved, verification is requested.   |
  27. ---------+----------------------------------------+------------
  28. delete   | Deletes the specified lines. If no     |  from, to
  29.  or del  | arguments are given, the current line  |
  30.          | is assumed.                            |
  31. ---------+----------------------------------------+------------
  32. dos      | Return to LDOS. If buffer has been     |    none
  33.  or quit | modified since it was loaded or saved, |
  34.          | verification is requested.             |
  35. ---------+----------------------------------------+------------
  36. list     | List specified lines to printer using  |  from, to
  37.          | same width as screen.                  |
  38. ---------+----------------------------------------+------------
  39. print    | List specified lines to printer using  |  from, to
  40.          | width set for LISTW in ed0.            |
  41. ---------+----------------------------------------+------------
  42. load     | Loads file fn into empty buffer. If    |  filename
  43.          | buffer is not empty AND has been mod-  |
  44.          | ified since loaded or saved, permis-   |
  45.          | sion to clear buffer is requested.     |
  46. ---------+----------------------------------------+------------
  47. name     | Assigns a filename to the contents of  |  filename
  48.          | buffer. This name will be used as the  |
  49.          | default name for a "save" operation.   |
  50. ---------+----------------------------------------+------------
  51. save     | Save buffer contents to the file name  |  filename
  52.          | specified or {default} that shown in   | {optional}
  53.          | the screen header.                     |
  54. ---------+----------------------------------------+------------
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.                       - continued -
  63.  
  64.  
  65.  
  66.  
  67. Help Guide for VMED -- Virtual Buffer version of ED2     page 2
  68.  
  69. =========+========================================+============
  70.  Command |             Action taken               | Arguments
  71. =========+========================================+============
  72. tab      | Reset number of columns for <tab>      |   columns
  73.          | (x'09') characters. On start-up, <tab> |
  74.          | is set at 4 columns for LC source.     |
  75. ---------+----------------------------------------+------------
  76. copy     | Duplicates a block of lines from one   | start, end
  77.          | location to another, with prompts for  | destination
  78.          | start and end of block, as well as     | {optional}
  79.          | line number block is to proceed (if    |
  80.          | none are passed in the command line).  |
  81. ---------+----------------------------------------+------------
  82. move     | Same as "copy", except original block  | start, end
  83.          | is deleted during move.                | destination
  84.          |                                        | {optional}
  85. ---------+----------------------------------------+------------
  86. top      | Move cursor to first line of buffer    |    none
  87.          | and enter "edit" mode. <t> may be used |
  88.          | while in "edit" mode.                  |
  89. ---------+----------------------------------------+------------
  90. bottom   | Move cursor to last line of buffer and |    none
  91.          | enter "edit" mode. <b> may be used in  |
  92.          | in "edit" mode.                        |
  93. ---------+----------------------------------------+------------
  94. keep     | Stores the specified lines to a temp-  |  from, to
  95.  or hold | orary file for use in a "paste" oper-  | {defaults
  96.          | ation. All "keep" operations will      | to current
  97.          | append to the temp file until a        | line only}
  98.          | "paste" is done.                       |
  99. ---------+----------------------------------------+------------
  100. paste    | Copies the entire contents of the temp |    none
  101.          | file created by "keep" to be above the |
  102.          | current line and resets a flag so that |
  103.          | the next "keep" starts a new temp file.|
  104.          | Multiple copies of the temp file may   |
  105.          | be made as long as no "keep"s are done |
  106.          | in between. Temp files are uneffected  |
  107.          | by exitting VMED or rebooting.         |
  108. ---------+----------------------------------------+------------
  109.  
  110.  
  111. Numeric arguments are to be in the form "num1, num2" where the
  112. separator may be either a space, comma or both. If only one
  113. argument is given, both will be assumed to be the same. If no
  114. arguments are given, defaults vary from command to command. For
  115. example, "delete" and "keep" both default to be the current line
  116. only. Special cases are made for the letters 't', 'b' and 'r' as
  117. well as the period, refering to the top, bottom, remembered (see
  118. <z> key, page 4) and current line, respectively.
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.                       - continued -
  129.  
  130.  
  131.  
  132.  
  133. Help Guide for VMED -- Virtual Buffer version of ED2     page 3
  134.  
  135.  
  136. Note| The following may be changed in ed1/ccc to suit user
  137. =========+=====================================================
  138. Command  |
  139.   keys   |              Action
  140. =========+=====================================================
  141. <clr>    | Clear key used for many of the following.
  142. ---------+-----------------------------------------------------
  143. <clr><|> | Enter "edit" mode from any mode.
  144. ---------+-----------------------------------------------------
  145. <clr><-> | Enter "insert" mode from any mode.
  146. =========+=====================================================
  147.          |      Keys used in "edit" and "insert" modes
  148. =========+=====================================================
  149. <clr><0> | Enter "command" mode
  150. ---------+-----------------------------------------------------
  151. <clr><1> | Split current line at cursor into two lines
  152. ---------+-----------------------------------------------------
  153. <clr><3> | Join current line with line above
  154. ---------+-----------------------------------------------------
  155. <clr><5> | Abort operations done on current line and restore
  156. ---------+-----------------------------------------------------
  157. <clr><7> | Delete character to left of cursor
  158. ---------+-----------------------------------------------------
  159. <clr><9> | Abort current operation and restore line.
  160. ---------+-----------------------------------------------------
  161. <sh><up> | Insert line above cursor
  162. ---------+-----------------------------------------------------
  163. <enter>  | Insert line below cursor
  164. =========+=====================================================
  165.          |         Keys used only in "edit" mode
  166. =========+=====================================================
  167. <b>      | Move to last line of buffer
  168. ---------+-----------------------------------------------------
  169. <c>      | Change one character
  170. ---------+-----------------------------------------------------
  171. <d>      | Delete current line
  172. ---------+-----------------------------------------------------
  173. <e>      | Move cursor to end of current line
  174. ---------+-----------------------------------------------------
  175. <f>      | Find next occurance of string from "find" command
  176. ---------+-----------------------------------------------------
  177. <g>nnn   | Go to line nnn { not supported in current version }
  178. ---------+-----------------------------------------------------
  179. <h>      | replace characters until <clr><0>, <clr><->, <clr><|>
  180.          | or cursor keys used
  181. ---------+-----------------------------------------------------
  182. <i>      | Enter "insert" mode
  183. ---------+-----------------------------------------------------
  184. <k> c    | Kill until character 'c' or end of line encountered
  185. ---------+-----------------------------------------------------
  186. <l>      | Move cursor to start of current line
  187. ---------+-----------------------------------------------------
  188. <p>      | Display next page, top line becomes current line.
  189.          | Display will begin at current line + SCRNL1.
  190.          | If current line is at top of display, last line of
  191.          | screen will be now be top of screen.
  192. ---------+-----------------------------------------------------
  193.  
  194.  
  195.                         - continued -
  196.  
  197.  
  198.  
  199. Help Guide for VMED -- Virtual Buffer version of ED2     page 4
  200.  
  201. =========+=====================================================
  202. <u>      | Display previous page, top line becomes current
  203.          | line. Display will begin at current line - SCRNL1.
  204.          | If current line is at top of display, it will now
  205.          | be at bottom of screen.
  206. ---------+-----------------------------------------------------
  207. <x>      | Position cursor to end of current line and enter
  208.          | "insert" mode.
  209. ---------+-----------------------------------------------------
  210. <z>      | Remember current line number. may be recalled by any
  211.          | command using a numeric argument by typing 'r' in
  212.          | place of a line number.
  213. ---------+-----------------------------------------------------
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.                              - end -
  261.  
  262.  
  263.  
  264.  
  265.